#
# Be sure to run `pod lib lint LXBaseUI.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'LXBaseUI'
  s.version          = '0.1.0'
  s.summary          = 'LXBaseUI is a base, contains custom views, custom colors, custom fonts'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
1.fix LXLineTextField property
2.'public' pop up view && share platform view
3.remove line text field limit code
4.'public' LXMarqueeDisplayView && LXVersionAlertView
5.add qihoo button
6.Public LXVersionAlertView
                       DESC

  s.homepage         = 'http://gitlab.360fin.holalauncher.com/components/LXBaseUI'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { 'yanglixiang' => 'lxyang6688@163.com' }
  s.source           = { :git => 'http://gitlab.360fin.holalauncher.com/components/LXBaseUI.git', :branch => 'master' }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '8.0'
  s.swift_version = '4.2'

  s.source_files = 'LXBaseUI/Classes/**/*'
  
  # s.resource_bundles = {
  #   'LXBaseUI' => ['LXBaseUI/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  
  #s.vendored_frameworks = ['LXBaseUI/Sheeeeeeeeet.framework']
  #s.resource_bundles = {'Resources' => 'LXBaseUI/Sheeeeeeeeet.framework/*.nib'}
  
  s.dependency 'Kingfisher', '~> 4.10.0'
  
  s.subspec 'LXColorsAndFonts' do |b|
      b.source_files = 'LXBaseUI/LXColorsAndFonts/**/*'
      b.dependency 'Hue', '2.0.1'
  end
  
  s.subspec 'LXAddressSelector' do |b|
      b.source_files = 'LXBaseUI/LXAddressSelector/**/*'
      
  end
  
  s.subspec 'LXProgressPopUpView' do |b|
      b.source_files = 'LXBaseUI/LXProgressPopUpView/**/*'
      
  end
  
  s.subspec 'LXVersionAlert' do |b|
      b.source_files = 'LXBaseUI/LXVersionAlert/**/*'
      b.dependency 'LXBaseUI/LXViewUtils'
      b.dependency 'LXBaseUI/LXColorsAndFonts'
      b.dependency 'SnapKit', '~> 4.0.1'
      b.dependency 'Localize-Swift', '~> 2.0.0'
  end
  
  s.subspec 'LXViewUtils' do |b|
      b.source_files = 'LXBaseUI/LXViewUtils/**/*'
  end
  
  
end
